<?php


namespace App\Http\Controllers;


class BaseController extends Controller{

    public function userinfo(){
        $user=auth('api')->user();
        return $user;
    }

}
